﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Abstract
{
    class Mini : AbstractCar
    {
        public enum MiniNames { Ford, Skoda };
        public enum MiniFeatures { Radio, MP3decoder };
        public enum MiniEngines { RegularGas };
        public enum MiniCategories { Compact, Midsize };

        private MiniNames mName;
        private MiniFeatures mFeature;
        private MiniEngines mEngine;
        private MiniCategories mCategory;

        public MiniFeatures Feature
        {
            get { return mFeature; }
            set { mFeature = value; }
        }
        public MiniEngines Engine
        {
            get { return mEngine; }
            set { mEngine = value; }
        }
        public MiniCategories Category
        {
            get { return mCategory; }
            set { mCategory = value; }
        }


        public MiniNames Name
        {
            get { return mName; }
            set { mName = value; }
        }
        public override Cars Type
        {
            get { return mType; }
            set { mType = value; }
        }

        public override Colors Color
        {
            get { return mColor; }
            set { mColor = value; }
        }
        public override Transmissions Transmission
        {
            get { return mTransmission; }
            set { mTransmission = value; }
        }

        public Mini(Cars type, Colors color, Transmissions transmission, MiniFeatures feature, MiniEngines engine, MiniCategories category)
        {
            this.Type = type;
            this.Color = color;
            this.Transmission = transmission;
            this.Feature = feature;
            this.Engine = engine;
            this.Category = category;
        }
        public override void aboutCar()
        {
            Console.WriteLine("Name\t:\t" + Name);
            Console.WriteLine("Type\t:\t" + Type);
            Console.WriteLine("Color\t:\t" + Color);
            Console.WriteLine("Transmission\t:\t" + Transmission);
        }

    }
}
